package com.jcoinexchange.web.entity;

public enum ResponseBaseCode implements ResponseCode {
    SUCCESS(0, "success"),
    ERROR_SYSTEM_EXCEPTION(-1, "系统异常"),
    ERROR_PARAM_INVALID(-2, "参数不合法"),

    ;

    private final  int code;
    private final String message;

    ResponseBaseCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
    public int getCode() {
        return code;
    }

    public String getMsg() {
        return message;
    }
}
